package edu.sctu.zhoudie.mouth201505.day20150512;

/**
 * Created by user08 on 2015/5/12.
 */
public class TextTwo {
    TextOne[] ArrayStudent = new TextOne[10];

    public TextOne[] print() {

        for (int i = 0; i < ArrayStudent.length; i++) {
            TextOne textOne = new TextOne();
            textOne.setName("张三" + i);
            textOne.setNumber(1011 + i);
            textOne.setAge(18 + i);
            textOne.setGrade(90 + i);
            textOne.setHometown("四川" + i);
            ArrayStudent[i] = textOne;
        }
        return ArrayStudent;
    }
}
